package net.siufung.security.provider.exception;

import net.siufung.core.result.IResultType;
import net.siufung.security.base.exception.Oauth2Exception;

/**
 * @author 陈建峰
 * @since 2022/3/2 3:30 下午
 */
public class AccessTokenAuthenticationException extends Oauth2Exception {

    private static final long serialVersionUID = -1551955925431587652L;

    public AccessTokenAuthenticationException(String msg) {
        super(msg);
    }

    public AccessTokenAuthenticationException(IResultType resultType) {
        super(resultType.getMessage());
    }
}
